package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;

import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Table(name = "cn_omc_old_man_account_funds")
public class OmcOldManAccountFunds extends BaseEntity {

    /**
     * 组织Id
     */
    @Column(name = "group_id")
    private Long groupId;

    /**
     * 版本号
     */
    private Integer version;

    /**
     * 老人ID
     */
    @Column(name = "old_man_id")
    private Long oldManId;

    /**
     * 实缴总金额
     */
    @Column(name = "act_paid_fee")
    private BigDecimal actPaidFee;

    /*
    * 预存金额
    * */
    private BigDecimal deposited;

    /*
    * 充值金额
    * */
    private BigDecimal recharge;

    /**
     * 消费总金额
     */
    private BigDecimal monetary;

    /**
     * 当前余额
     */
    private BigDecimal remainder;

    /**
     * 备注
     */
    private String remark;
}